public class SumNumbers {
    public static void main(String[] args) {
        int sum = 0,i = 1;
          for (;; ) {
            sum += i;
            i++;
            if (i>100) {
                break;
            }
            System.out.println("跳出第一层循环");
        }
        System.out.println("result=" + sum);
    }
}
